---js
{
	title: "slug",
	permalink: function(data) {
		return `subdir/${data.title}/`;
	}
}
---
Slugged.
